package com.linkhub.oms.admin.modules.product.excel.enums;

import com.linkhub.oms.component.excel.converter.ExcelCellEnumConvert;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Description: WrapTypeCellMappingEnum
 * @Author: echo
 * @Date: 2024/5/11 16:19
 * @Version: 1.0
 */
@Getter
@AllArgsConstructor
public enum WrapTypeCellMappingEnum implements ExcelCellEnumConvert<String, Integer> {
    BOX_PACKAGING("Box Packaging", 1),
    BAG_PACKAGING("Bag Packaging", 2),
    C_BOX_PACKAGING("盒装", 1),
    C_BAG_PACKAGING("袋装", 2);

    private final String cellData;

    private final Integer convertValue;

    @Override
    public String getCode() {
        return this.cellData;
    }

    @Override
    public Integer getValue() {
        return this.getConvertValue();
    }
}
